package com.xtwy.service.model;

import com.xtwy.common.core.model.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "sys_user")
@Data
public class User extends BaseEntity<Long> {
    private String username;

    private String password;

    private String nickname;

    @Column(name = "headImgUrl")
    private String headimgurl;

    private String phone;

    private String telephone;

    private String email;

    private Date birthday;

    private Boolean sex;

    private Boolean status;
}